import {
	GET,
	POST,
	POST_JSON
} from '@/utils/http.js'

// 报价板
export const getOfferPriceIndex = (data) => {
	return GET('/pricePlate/getOfferPriceIndex', data)
}
export const getTodayIndex = (data) => {
	return GET(`/priceAvgDailyInfo/dateContrast`, data)
}
export const getHostSaleProduct = (data) => {
	return GET(`/newMobile/shopProductController/getHostSaleProduct`, data)
}
// 供求列表
export const getSupplyInfoBySupply = (data) => {
	return POST_JSON('/shopSupplyDemand/findSupplyDemandList', data)
}
export const getGroupProductList = (data) => {
	return GET(`/ajax/groupBuyingProduct/getGroupProductList`, data)
}
/// 团购详情
export const saveGroupRecord = (data) => {
	return POST_JSON(`/ajax/shopGroupBuyingRecord/saveGroupRecord`, data)
}
